laravel many to many relation update

34

$user->roles()->sync([1, 2, 3]);

Comments

Submit
0 Comments